/**
@author : wbc-4140
@date : 2013 10 10
@description: init object map
*/

function MapService(){
    MapService.prototype.imageInfo = {};

   /*************************************init object map*******************************************/
    /**
    @author : wbc-4140
    @date : 2013 10 10
    @description: 
    */   
    this.init = function init(){
        
    };

    /*********************************************setting pin *********************************************/
    /**
    @author :wbc-4140
    @date : 2013 10 17
    @description: 
    @params: 
    */
    
    this.reset_pin = function reset_pin(element){
        $(element).stop().css({
            'opacity': '0',
			'margin-top': '0'
		});
    };
    /******************************************fill effect into location map ****************************/
    /*
    @author: wbc-4140
    @date : 2013 10 18
    @description :
    @params :
    */
    this.callImageMapster = function callImageMapster(mapKey){
        var options = {
            singleSelect: true,
            fill: true,    
            stroke: true,      
            fillColor: '222222',        
            render_highlight: { 
                fillOpacity: 0.2
            },
            render_select: {
                fillOpacity: 0.2
            },
            scaleMap: true
        };
        $(mapKey).mapster(options);
        $(mapKey).mapster('resize', Util.prototype.getMapWidth());
    };
}

